#include <iostream>

int main()
{
    using namespace std;

    double price[] = {4.99, 10.99, 6.87, 7.99, 8.49};

    for (double x: price)
        cout << "x = " << x << endl;

    return 0;
}